<script lang="ts" setup name="MoneyRecordDetail">
import {useRouter} from 'vue-router';
const router = useRouter();

</script>
<template>
  <nav-header class="header" title='资产记录明细'></nav-header>
  <div class="pay-success">
    <div class="account">通知金额(Re)</div>
    <div class="money">10,000.00</div>
  </div>

  <van-cell-group>
    <van-cell title="通知日期" value="12:45:22 21/03/2024" />
    <van-cell title="汇款银行" value="中国建设银行(亚洲)088" />
    <van-cell title="收款银行" value="中国建设银行(亚洲)" />
    <van-cell title="转账方式" value="E-Banking 网银转账" />
    <van-cell title="存入账户" value="印度股票账户8888" />
    <van-cell title="到账金额" value="10.000.00" />
    <van-cell title="状态" value="未到账" class="status-blue" />
    <van-cell title="到账时间" value="12:45:22 21/03/2024" />
    <van-cell title="上传凭证"  >
      <template #value>
        <img class="icon-certificate" v-for="(item,index) in 2" src="@/assets/images/icon/icon-home-list-btc.png" alt="">
      </template>
    </van-cell>
  </van-cell-group>

</template>
<style lang="scss" scoped>
.header{
  .header-rigth{
    width: 10px;
    padding-right: 10px;
  }
}
.pay-success{
  margin-top: 16px;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  .account{
    margin-top: 12px;
    font-size: 8px;
    color: #777777;
    text-align: center;
  }
  .money{
    font-weight: bold;
    font-size: 26px;
    color: #2C2C2C;
    text-align: center;
    margin-top: 4px;
  }

}
.van-cell-group{
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 20px;
  &::after{
    display: none;
  }
  :deep(.van-cell){
    padding-left: 0;
    padding-right: 0;
    &::after{
      display: none;
    }
    .van-cell__title{
      font-size: 7px;
      color: #777777;
    }
    .van-cell__value{
      font-weight: bold;
      font-size: 7px;
      color: #2C2C2C;
    }
  }

  :deep(.status-red){
    .van-cell__value{
      color: #E8464A;
    }
  }
  :deep(.status-red){
    .van-cell__value{
      color: #E8464A;
    }
  }
  :deep(.status-blue){
    .van-cell__value{
      color: #1642F4;
    }
  }
  :deep(.status-green){
    .van-cell__value{
      color: #5FAB3D;
    }
  }
  :deep(.status-yellow){
    .van-cell__value{
      color: #FF9900;
    }
  }

  :deep(.icon-copy){
    width: 6px;
    padding-left: 2px;
    cursor: pointer;
  }
  .icon-certificate{
    width: 36px;
    margin-right: 2px;
    &:last-child{
      margin-right: 0;
    }
  }
}

</style>
